Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
You need to configure realms also.Once you have done that, you need to configure an identity policy that maps networks to a realm then add that identity policy to your access policy.That is passive authentication.Using a captive portal is active auth...