Restricting access to hit Developer API endpoints without login & how to disable register tab

New to developer portal and have couple of questions.

1.We have few api's in dev portal and we want to make sure the api's are not accessible with out logging into the dev portal. If anonymous user clicks it should not proceed to api spec page to try it but it should throw an error as not authorized to access this page etc.

2. Is it possible to disable completely register tab in dev portal & how can we customize remove/add fields in register form?

Thanks,

Vinay

0 4 577
4 REPLIES 4

Use Admin/People/Permissions to disable specific things for the un-authenticated user.

Specifically, if you revoke the "View published Content" permission for the anonymous user, then anonymous users will not be able to see Smartdocs pages. You can do something similar for Forums, FAQ's and other content.

See this quick screencast for a show-and-tell.

6731-screenshot-20180409-170813.png

@vinay , I believe you are taking about drupal based Apigee Developer Portal , Not the EDGE UI based developer portal.

I don't think it's possible to do in light weight portal created from Edge UI. But, You can definitely do same in Apigee Drupal based Developer Portal. More details below.

Regarding #2, Yes, It's possible change settings at "admin/config/people/accounts"

Also, 4 Minute Video that explains how to change registration fields, Look for S04E01

https://www.youtube.com/playlist?list=PLIXjuPlujxxxe3iTmLtgfIBgpMo7iD7fk

This can also be done in the lightweight portal. When publishing an API spec, you can set the access to either be anonymous users (anyone can view) or registered users (only registered users can view)

for Drupal based portal, you can give access based on user role.

& to disable user registration for anonymous user, turn off setting from people -> account setting