# Openid auth, can I get only public info without email, or it will always be packed in?

**URL:** <https://discuss.dev.twitch.com/t/openid-auth-can-i-get-only-public-info-without-email-or-it-will-always-be-packed-in/38900>\
**Category:** API\
**Created:** [June 10, 2022, 5:04pm UTC](https://discuss.dev.twitch.com/t/openid-auth-can-i-get-only-public-info-without-email-or-it-will-always-be-packed-in/38900 "2022-06-10T17:04:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![frukc](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@frukc](https://discuss.dev.twitch.com/u/frukc)\
**Post date:** [June 10, 2022, 5:04pm UTC](https://discuss.dev.twitch.com/t/openid-auth-can-i-get-only-public-info-without-email-or-it-will-always-be-packed-in/38900/1 "2022-06-10T17:04:07Z")

</div>

I would love to authorize users asking them just for public info.  
Because I’m having problems with next-auth & twitch & no-openid authorization.  
I’m forced to use openid scope, without any claims it’s by default is asking for:

> Clicking Authorize below will allow **-----------** to:  
> _Get your Twitch user ID, username, profile image, profile update date, **email address, and email verification status** _  
> This application is requesting your public twitch account information

Is there a way to drop request for email on openid scope?

When blank scope is used, like:

> ```
> {
> id: "twitch",
> name: "Twitch",
> type: "oauth",
> authorization: "https://id.twitch.tv/oauth2/authorize?scope=",
> token: "https://id.twitch.tv/oauth2/token",
> userinfo: "https://id.twitch.tv/oauth2/userinfo",
> issuer: "https://id.twitch.tv/oauth2",
> 
> profile(profile) {
> return {
> ..
> };
> },
> clientId: process.env.TWITCH_CLIENT_ID,
> clientSecret: process.env.TWITCH_CLIENT_SECRET
> }
> 
> ```

I get **[next-auth][error][CALLBACK\_OAUTH\_ERROR]  
‘expected 200 OK, got: 400 Bad Request’**

Tried any possible combination I could come up with, and no luck.  
_ **The situation is getting desperate! HELP!** _

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [July 10, 2022, 5:04pm UTC](https://discuss.dev.twitch.com/t/openid-auth-can-i-get-only-public-info-without-email-or-it-will-always-be-packed-in/38900/2 "2022-07-10T17:04:36Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
