第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

未找到請求 'GET /authenticate/github? 在游戲框架 2.6 的安全社交中

未找到請求 'GET /authenticate/github? 在游戲框架 2.6 的安全社交中

炎炎設(shè)計 2021-09-29 13:43:32
我一直在嘗試在 play 2.6 中使用 securesocial。我正在使用主快照。當(dāng)我點擊 GitHub 圖標(biāo)時,它會導(dǎo)航到 github.com,當(dāng)我輸入我的用戶名和密碼時,我得到 action not found 錯誤http://localhost:9000/authenticate/github?error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST +match+the+registered+callback+URL+for+this+application.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fapps%2Fmanaging-oauth-apps%2Ftroubleshooting-authorization-request-errors%2F%23redirect -uri-mismatch&state=9eb23bec-37b6-4930-9b76-899ff8e1fbe1。下面是我的路由文件GET     /                           controllers.Application.indexGET     /home                       @controllers.Application.goHomeGET     /userAware                  @controllers.Application.userAwareGET     /link-result                @controllers.Application.linkResultGET     /current-user               @controllers.Application.currentUser# Map static resources from the /public folder to the /assets URL pathGET     /assets/*file               controllers.Assets.versioned(path="/public", file: Asset)->      /auth                       securesocial.Routes在securesocial.conf中我添加了 onLoginGoTo = /home
查看完整描述

2 回答

?
白衣染霜花

TA貢獻1796條經(jīng)驗 獲得超10個贊

問題是我沒有在路由文件中添加重定向 URL 的路由。添加后->    /authenticate/github  securesocial.Routes解決了我的問題。/authenticate/github是我在 github 上創(chuàng)建客戶端令牌時注冊的 URL


查看完整回答
反對 回復(fù) 2021-09-29
  • 2 回答
  • 0 關(guān)注
  • 196 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號