# Twitter Login and signup error

**URL:** https://meta.discourse.org/t/twitter-login-and-signup-error/87156
**Category:** Support
**Created:** [May 10, 2018, 11:05am UTC](https://meta.discourse.org/t/twitter-login-and-signup-error/87156 "2018-05-10T11:05:29Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Brajmohan\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brajmohan_kumar/32/138760_2.png) [@Brajmohan\_Kumar](https://meta.discourse.org/u/Brajmohan_Kumar)
#### Post date: [May 10, 2018, 11:05am UTC](https://meta.discourse.org/t/twitter-login-and-signup-error/87156/1 "2018-05-10T11:05:29Z")

</div>

I have gone through all the steps provided to add login via twitter but after finishing all steps when i tried login it is giving me this error

**# Oops**

The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience.

Detailed information about the error was logged, and an automatic notification generated. We’ll take a look at it.

No further action is necessary. However, if the error condition persists, you can provide additional detail, including steps to reproduce the error, by posting a discussion topic in the site’s feedback category.

**All other logins are working fine but only twitter is giving me this error.**  
**My forum link is [https://forum.cyberthana.com](https://forum.cyberthana.com)**

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [May 10, 2018, 11:28am UTC](https://meta.discourse.org/t/twitter-login-and-signup-error/87156/2 "2018-05-10T11:28:04Z")

</div>

I’d suggest to look into your twitter application first to see if it has permissions sorted properly.

Then I’d cross check with all the tokens and secrets for possible mismatch.

---

<div class="post-metadata">

### Author: ![Brajmohan\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brajmohan_kumar/32/138760_2.png) [@Brajmohan\_Kumar](https://meta.discourse.org/u/Brajmohan_Kumar)
#### Post date: [May 10, 2018, 11:41am UTC](https://meta.discourse.org/t/twitter-login-and-signup-error/87156/3 "2018-05-10T11:41:15Z")

</div>

![Captdure](https://global.discourse-cdn.com/meta/original/3X/0/c/0ca66f7c590d71c52831281ad62c89b11d057a8e.PNG)

This is my permission setting for my twitter app.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [May 10, 2018, 11:42am UTC](https://meta.discourse.org/t/twitter-login-and-signup-error/87156/4 "2018-05-10T11:42:25Z")

</div>

~~Try it with read & write then test again!~~

~~Also, an interesting place to look at would be `https://ask.cyberthana.com/logs` and `/admin/logs` to know exactly what is failing.~~

Also, Your forum seems to be configured over SSL so one thing to check will be `force_https` in your admin panel and confirming if you have set up https links in the twitter application.

My twitter configuration is as follows and it works fine:

 ![Capture](https://global.discourse-cdn.com/meta/original/3X/1/c/1c60f99daa6c95913e299e5832874c35a16dedad.PNG)  
Settings to request email and App permission is Read only.

refer this:

> [@Configuring X login and rich embeds for Discourse](https://meta.discourse.org/t/configuring-twitter-login-for-discourse/13395):
>
> bookmark This guide explains how to set up Twitter login and rich embeds for your Discourse forum. person_raising_hand Required user level: Administrator warning In order for rich embeds to work properly, a Basic plan or higher for X Dev is mandatory. Rich embeds will not work with the Free X Dev plan. X Configuration Go to the [Developer Portal](https://developer.twitter.com/en/portal/projects-and-apps) on X. Choose between a Free, Basic, or Pro X Dev plan and complete the developer agreement and policy requirements. After completing …

---

<div class="post-metadata">

### Author: ![Brajmohan\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brajmohan_kumar/32/138760_2.png) [@Brajmohan\_Kumar](https://meta.discourse.org/u/Brajmohan_Kumar)
#### Post date: [May 10, 2018, 12:13pm UTC](https://meta.discourse.org/t/twitter-login-and-signup-error/87156/5 "2018-05-10T12:13:11Z")

</div>

Thanku,

I have edited callback URL from **[http://ask.cyberthana.com/auth/twitter/callback](http://ask.cyberthana.com/auth/twitter/callback)** to **[https://ask.cyberthana.com/auth/twitter/callback](https://ask.cyberthana.com/auth/twitter/callback)**

And now its working fine.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 8, 2024, 12:37pm UTC](https://meta.discourse.org/t/twitter-login-and-signup-error/87156/7 "2024-06-08T12:37:06Z")

</div>

This topic was automatically closed after 2221 days. New replies are no longer allowed.
