Control user access using OpenID Connect - AppSheet Help
文章推薦指數: 80 %
You can use any authentication provider that supports the standard OpenID Connect protocol to control authentication and user access control for your apps. SkiptomaincontentControluseraccessusingOpenIDConnect YoucanuseanyauthenticationproviderthatsupportsthestandardOpenIDConnectprotocoltocontrolauthenticationanduseraccesscontrolforyourapps. OpenIdConnectisessentiallytheOAuth2protocolwithstandardizeddefinitionsforthescopesandbehaviors.MostmodernauthenticationproviderslikeOktasupportthisprotocol. Youwillhavetogothroughsomestandardstepsintheprovider'sadminconsoletodefineanapp (thistellstheproviderthatAppSheetisgoingtobeaccessingit)andgetanappkeyandsecret.ThesewillneedtobeenteredintoyourAppSheetaccount. Step1:Registeranapp withtheOpenIDConnectprovider Thespecificsofthisvarybyprovider.Typically,theproviderhasanadminconsolewhereyouwouldcreateanewapp. Givetheappanamethatismeaningfultoyou,likeAppSheetAccess orAcmeCorpFieldService. You'llbepromptedforacallbackURL.ThecallbackURLsshouldbesetto: https://www.appsheet.com/Account/ELC andhttp://localhost:53519/Account/ELC,separatedbyacommaandaspace.ItisimportanttogettheseURLscorrectwiththerightcapitalization.Also,pleasenotethatthesecondcallbackURLisstrictlynotrequired;itwouldonlybenecessaryifyourequestedustodebugyourapplicationinthefuture. Ifthereisascope option,thevalueshouldbeopenid. Theprovidershouldgiveyouakey(orclientid)andasecretforthisapp.Makesuretocopytheseasyouwillneedtheminthenextstep. Step2:ConfigureyourAppSheetaccount Nowthatyouhavesetupyourprovider,youneedtoregisteritinyourAppSheetaccount. SignintoAppSheet. GotoMyaccount>Integrations>AuthDomains. Click+NewAuthDomain. TheAddanewauthenticationdomaindialogdisplays. Enteranamefortheauthsource. Select OpenIDConnect.Youarepromptedforthefollowinginputs: App/clientkey/id:CliendIDvalueyoucopiedinstep1. App/clientsecret:Clientsecretvalueyoucopiedinstep1. Authendpoint:Dependsontheprovider.Forexample,forOktaitis: https://{yourOktaDomain}/oauth2/v1/authorize Tokenendpoint:Dependsontheprovider.Forexamle,forOkta itis:https://{yourOktaDomain}/oauth2/v1/token Scope:Almostalwaysthisshouldbesetto: openidprofileemail WerecommendthatyouyourefertotheOpenIDConnectorprovider documentationtoensurethatyouconfigurethiscorrectly,especiallytheauthandtokenendpoints.Forexample,forOkta,see: https://developer.okta.com/docs/api/resources/oidc/#response-properties Step3:Usethenewauthdomaininyourapps Youcannowusethisdomainauthsourceinyourapps.SeeSetupdomainauthenticationinyourapp. Wasthishelpful?Howcanweimproveit?YesNoSubmittrueDomainintegrationDomainintegration:TheEssentialsUsedomaingroupsascustomrolesinyourapplicationsControluseraccessusingActiveDirectoryControluseraccessusingAWSCognitoControluseraccessusingGoogleCloudControluseraccessusingOktaControluseraccessusingOpenIDConnectSearchClearsearchClosesearchGoogleappsMainmenuSearchHelpCenterfalse
延伸文章資訊
- 1Control user access using OpenID Connect - AppSheet Help
You can use any authentication provider that supports the standard OpenID Connect protocol to con...
- 2Microsoft 身分識別平台和OpenID Connect 通訊協定
使用OpenID Connect 驗證通訊協定的Microsoft 身分識別平台實作來建置Web 應用 ... by your app &nonce=678910 // Any value, p...
- 3Using OpenID Connect to Authenticate to an Android App
Configure OneLogin · Click Add App. · Search for OIDC and select the OpenId Connect (OIDC) app. ·...
- 4OpenID Connect 是什麼? | HENNGE Taiwan 部落格
Authorization Server 的新稱呼為OpenID Provider,它除了可以發放Access Token 外,同時也可以發放ID Token。 OpenID Connect 的...
- 5OpenID Connect
OpenID Connect performs many of the same tasks as OpenID 2.0, but does so in a way that is API-fr...