Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The process of obtaining user authorization for OpenID Connect is nearly identical to the process of obtaining authorization for any OAuth 2.0 enabled API. You can use either the client-side implicit flow (as described in Chapter 3) or the server-side web app flow (as described in Chapter 2).
As with any usage of these flows, the client generates a URL pointing at the OAuth Authorization Endpoint and redirects the user to that URL. The following parameters are passed:
client_idThe value provided to you when you registered your application.
redirect_uriThe location the user should be returned to after they approve the authentication request.
scopeopenid for a basic OpenID
Connect request. If your client needs access to additional profile
information for the user, additional scopes can be profiled in this
space-delimited string: profile,
email, address.